package com.iot.core.data.entity;

import com.iot.core.data.BaseEntity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import io.swagger.v3.oas.annotations.media.Schema;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.util.Date;


@Data
@Schema(name = "Url表",description = "")
@Table(value ="htaction")
public class HtAction extends BaseEntity {


    @Schema(name = "代码名称",description = "")
    @Size(min =0,max = 20,message = "长度范围0-20")
    private  String  prjName ="";

    @Schema(name = "CtlFullName",description = "")
    @Size(min =0,max = 100,message = "长度范围0-100")
    private  String  ctlFullName ="";

    @Schema(name = "Url",description = "")
    @Size(min =0,max = 100,message = "长度范围0-100")
    private  String  fullUrl ="";

    @Schema(name = "名称",description = "")
    @NotBlank(message = "名称不能为空")
    @Size(min =0,max = 50,message = "长度范围0-50")
    private  String  name ="";

    @Schema(name = "ename",description = "")
    @NotBlank(message = "名称不能为空")
    @Size(min =0,max = 50,message = "长度范围0-50")
    private  String  ename ="";



    @Schema(name = "备注",description = "")
    private  String  memo ="";

    @Schema(name = "参数类型",description = "")
    @Size(min =0,max = 100,message = "长度范围0-100")
    private  String  pinType ="";

    @Schema(name = "参数是否List",description = "")
    private  boolean pinIslist ;

    @Schema(name = "返回类型",description = "")
    @Size(min =0,max = 100,message = "长度范围0-100")
    private  String  poutType ="";

    @Schema(name = "返回是否List",description = "")
    private  boolean poutIslist ;

    @Schema(name = "返回是否分页",description = "")
    private  boolean poutIspage ;

    @Schema(name = "授权类型",description = "")
    @Size(min =0,max = 10,message = "长度范围0-10")
    private  String  authType ="";

    @Schema(name = "是否需要日志",description = "")
    private  boolean logNeed ;

    @Schema(name = "日志模板",description = "")
    @Size(min =0,max = 100,message = "长度范围0-100")
    private  String  logTemplete ="";

    @Schema(name = "是否记录参数",description = "")
    private  boolean logPin ;

    @Schema(name = "是否记录输出",description = "")
    private  boolean logPout ;

    @Schema(name = "创建日期",description = "")
    private  Date  crtDt ;

    @Schema(name = "修改日期",description = "")
    private  Date  edtDt ;



    @Schema(name = "删除标志",description = "")
    @Column(isLogicDelete = true)
    private  boolean  deleted  ;

}
